package com.taa.infrastructure.dao;

import com.taa.infrastructure.dao.po.OrderItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: taa
 * @Desc: 订单详细Dao
 * @create: 2025-06-01 16:00
 **/
@Mapper
public interface IOrderItemDao {

    List <OrderItem> queryOrderItemByOrderNo(String orderNo);
    
    OrderItem queryOrderItemByProductIdAndOrderNo(Long productId, String orderNo);

    void insertOrderItem(OrderItem orderItem);
}
